package scct.jiangjiale.model;

public class User {
    int id;
    String name;
    String password;
    int role;
     String sex;
     String mobile;
     int age;

    public User(int id, String name, String password, int role, String sex, String mobile, int age) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.role = role;
        this.sex = sex;
        this.mobile = mobile;
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
